package com.jswlw.dao.biz;

import com.jswlw.entity.biz.Distributor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DistributorMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Distributor record);

    int insertSelective(Distributor record);

    Distributor selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Distributor record);

    int updateByPrimaryKey(Distributor record);

    List<Distributor> queryList(Distributor filter);

    int queryMaxCount(@Param("parentId") Integer parentId);
}